package com.zhou.org.dto;

import com.zhou.org.dao.Menu;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2022-08-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MenuDto extends Menu implements Serializable {

    private static final long serialVersionUID=1L;


    /** 子菜单 */
    private List<MenuDto> children = new ArrayList<>();

    private String latsMenuName;

    /**
     * 是否自身权限 1-是 0-否
     */
    private Boolean self = false;
    /**
     * 是否选中
     */
    private Boolean checked = false;
    /**
     * 是否允许选中
     */
    private Boolean disabled = true;


}
